import './assets/reset.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'


import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //数据持久化

import { register } from 'swiper/element/bundle';
register();


const app = createApp(App)

// app.use(createPinia())
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(pinia)
app.use(router)

app.mount('#app')
